dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / ExecuteDataset Method / ExecuteDataset(String,String,MySqlParameter[]) Method
Settings to use for the connection.
The command to execute.
Parameters to use for the command.

In This Topic
ExecuteDataset(String,String,MySqlParameter[]) Method
In This Topic
Executes a single SQL command and returns the resultset in a System.Data.DataSet. A new MySqlConnection object is created, opened, and closed during this method.
Syntax
'Declaration
 
Public Overloads Shared Function ExecuteDataset( _
   ByVal connectionString As String, _
   ByVal commandText As String, _
   ByVal ParamArray commandParameters() As MySqlParameter _
) As DataSet
 

Parameters

connectionString
Settings to use for the connection.
commandText
The command to execute.
commandParameters
Parameters to use for the command.

Return Value

System.Data.DataSet containing the resultset.
See Also